/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.xs_hot_book.entity;

import com.jeeplus.modules.xs_book.entity.XsBook;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 热门书籍信息Entity
 * @author 天竹子
 * @version 2021-07-15
 */
@Data
public class XsHotBook extends DataEntity<XsHotBook> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="书籍id", fieldType=XsBook.class, value="book.name", align=2, sort=1)
	private XsBook book;		// 书籍id
	@ExcelField(title="类型(1.热搜小说2.本周热门3.精品小说)", dictType="re_type", align=2, sort=2)
	private String type;		// 类型(1.热搜小说2.本周热门3.精品小说)
	
	public XsHotBook() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}
	
	public XsHotBook(String id){
		super(id);
	}
}